//
//  GSBorderButton.m
//  GameSky
//
//  Created by lanou on 16/1/13.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import "GSBorderButton.h"

@implementation GSBorderButton

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        // 设置按钮的圆角半径;
        self.layer.cornerRadius = 5;
        // 设置按钮的边框宽度;
        self.layer.borderWidth = 0.5;
        // 设置按钮的边框颜色;
        self.layer.borderColor = [UIColor lightGrayColor].CGColor;
    }
    return self;
}

@end
